home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 118 / cd-rom 118.iso / aplic / open / openofficeorg1.cab / Types.xcs < prev    next >
Encoding:
Extensible Markup Language  |  2005-02-03  |  2.9 KB  |  110 lines

  1. <?xml version='1.0' encoding='UTF-8'?>
  2.  
  3. <oor:component-schema oor:name="Types" oor:package="org.openoffice.TypeDetection" xml:lang="en-US" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  4.  
  5.     <info>
  6.  
  7.         <desc>Contains common content types for Office. See package TypeDetection and TypeDetection_Filters for other parts of type/filter configuration too.</desc>
  8.     </info>
  9.     <templates>
  10.  
  11.         <group oor:name="Type">
  12.  
  13.             <info>
  14.  
  15.                 <desc>Lists the types that represent common content formats in Office.</desc>
  16.             </info>
  17.             <prop oor:name="UIOrder" oor:type="xs:int">
  18.  
  19.                 <info>
  20.  
  21.                     <desc>Used to sort types inside dialogs. Only values >0 are recognized. Types with an order value <1 will be sorted alphabeticly.</desc>
  22.                 </info>
  23.                 <value>0</value>
  24.             </prop>
  25.             <prop oor:name="URLPattern" oor:type="oor:string-list">
  26.  
  27.                 <info>
  28.  
  29.                     <desc>List of URL pattern (with simple wildcards */?) which match to this type.</desc>
  30.                 </info>
  31.                 <value/>
  32.             </prop>
  33.             <prop oor:name="Extensions" oor:type="oor:string-list">
  34.  
  35.                 <info>
  36.  
  37.                     <desc>List of file extensions, which match to this type.</desc>
  38.                 </info>
  39.                 <value/>
  40.             </prop>
  41.             <prop oor:name="DocumentIconID" oor:type="xs:int">
  42.  
  43.                 <info>
  44.  
  45.                     <desc>Global ID of an icon, which represent this tye at the UI.</desc>
  46.                 </info>
  47.                 <value>0</value>
  48.             </prop>
  49.             <prop oor:name="MediaType" oor:type="xs:string">
  50.  
  51.                 <info>
  52.  
  53.                     <desc>Corresponding mime type.</desc>
  54.                 </info>
  55.                 <value/>
  56.             </prop>
  57.             <prop oor:name="Preferred" oor:type="xs:boolean">
  58.  
  59.                 <info>
  60.  
  61.                     <desc>In case of ambigoues registrations (e.g. for extensions doc/txt) it specify the prefererred type.</desc>
  62.                 </info>
  63.                 <value>false</value>
  64.             </prop>
  65.             <prop oor:name="PreferredFilter" oor:type="xs:string">
  66.  
  67.                 <info>
  68.  
  69.                     <desc>An optimization! Points directly to the preferred filter for this type. No search across all filters is neccessary ...</desc>
  70.                 </info>
  71.                 <value/>
  72.             </prop>
  73.             <prop oor:name="UIName" oor:localized="true" oor:type="xs:string">
  74.  
  75.                 <info>
  76.  
  77.                     <desc>Localized name of this type for showing it at the UI.</desc>
  78.                 </info>
  79.             </prop>
  80.             <prop oor:name="ClipboardFormat" oor:type="xs:string">
  81.  
  82.                 <info>
  83.  
  84.                     <desc>Unique identifier, which can be searched inside the stream to detect this format.</desc>
  85.                 </info>
  86.                 <value/>
  87.             </prop>
  88.             <prop oor:name="DetectService" oor:type="xs:string">
  89.  
  90.                 <info>
  91.  
  92.                     <desc>An optimization! Points directly to the deep detection service, which can verify a flat detection.</desc>
  93.                 </info>
  94.                 <value/>
  95.             </prop>
  96.         </group>
  97.     </templates>
  98.     <component>
  99.  
  100.         <set oor:name="Types" oor:node-type="Type">
  101.  
  102.             <info>
  103.  
  104.                 <desc>Lists the registered content types.</desc>
  105.             </info>
  106.         </set>
  107.     </component>
  108. </oor:component-schema>
  109.  
  110.